﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace MyTask.Domain.Models
{
    [Table("TaskInfo")]
    public class TaskInfo
    {
        /// <summary>
        /// Primary key
        /// </summary>
        [Key]
        public int TaskId { get; set; }
        /// <summary>
        /// Task Name
        /// </summary>
        public string TaskName { get; set; }
        /// <summary>
        /// Task start time
        /// </summary>
        public DateTime StartTime { get; set; }
        /// <summary>
        /// Task end time
        /// </summary>
        public DateTime EndTime{ get; set; }
        /// <summary>
        /// Is comlete
        /// </summary>
        public bool IsComplete { get; set; }
        /// <summary>
        /// User Id
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// Task Describle
        /// </summary>
        public string TaskDescrible { get; set; }
        /// <summary>
        /// Task Result
        /// </summary>
        public string TaskResult { get; set; }
    }
}
